<template>
  <div>
    <p>shouye</p>
    <el-button @click="this.$router.push('child')">fsdfsd</el-button>
  </div>
</template>

<script>
// import Child from "@/text/child.vue";
// import ChildTwo from "@/text/child-two.vue";

export default {
  // components: { ChildTwo, Child },
  data() {
    return {
      num2: "",
    };
  },
  methods: {
    num1(id) {
      this.num2 = id;
    },
  },
  computed: {
    num() {
      // console.log(id);
      console.log(this.num1);
      return 0;
    },
  },
};
</script>

<style lang="scss" scoped></style>
